package pers.lonestar.framework.utils.support.metadata.write;

import java.lang.reflect.Field;
import java.util.List;

import org.apache.poi.ss.usermodel.Sheet;

import pers.lonestar.framework.utils.support.converters.Converter;
import pers.lonestar.framework.utils.support.metadata.BasicParameter;
import reactor.core.publisher.Flux;

public class WriteSheet extends BasicParameter {
    private boolean hasHead;

    private Flux<?> dataFlux;
    private Sheet currentSheet;
    private int currentRowIndex;
    private int sheetNumber = 1;

    private List<Field> fieldList;
    private List<? extends Converter> converterList;

    public boolean isHasHead() {
        return this.hasHead;
    }

    public void setHasHead(boolean hasHead) {
        this.hasHead = hasHead;
    }

    public Flux<?> getDataFlux() {
        return this.dataFlux;
    }

    public void setDataFlux(Flux<?> dataFlux) {
        this.dataFlux = dataFlux;
    }

    public Sheet getCurrentSheet() {
        return this.currentSheet;
    }

    public void setCurrentSheet(Sheet currentSheet) {
        this.currentSheet = currentSheet;
    }

    public int getCurrentRowIndex() {
        return this.currentRowIndex;
    }

    public void setCurrentRowIndex(int currentRowIndex) {
        this.currentRowIndex = currentRowIndex;
    }

    public int getSheetNumber() {
        return this.sheetNumber;
    }

    public void setSheetNumber(int sheetNumber) {
        this.sheetNumber = sheetNumber;
    }

    public List<Field> getFieldList() {
        return this.fieldList;
    }

    public void setFieldList(List<Field> fieldList) {
        this.fieldList = fieldList;
    }

    public List<? extends Converter> getConverterList() {
        return this.converterList;
    }

    public void setConverterList(List<? extends Converter> converterList) {
        this.converterList = converterList;
    }
}
